﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Header.ascx.cs" Inherits="UserControls_Header" %>
<script type="text/javascript">
    function ValidatorInput() {
        if (document.getElementById('<%=txtSearch.ClientID%>').value == "搜索文章...")
            return false;
        return true;
    }
</script>

<div id="header">
    <div class="logo_remark clearfix">
	    <div class="logo">
		    <h1 title="WEB前端开发"><a title="WEB前端开发" href="http://www.fanfublog.com">WEB前端开发</a></h1>
		    <p>——专注web前端开发，关注用户体验</p>
	    </div>
	    <%--<div class="remark">
		    <p></p>
	    </div>--%>
    </div>
    <div class="nav clearfix">
	    <ul>
		    <%=strNav %>
	    </ul>
	    <div class="search">
		    <input class="textbox" ID="txtSearch" type="text" runat="server" value="搜索文章..." onfocus="if(this.value==this.defaultValue)this.value=''" onblur="if(this.value=='')this.value=this.defaultValue" />
            <asp:LinkButton class="btn_search" ID="lbtnSearch" runat="server" OnClientClick="return ValidatorInput();" onclick="lbtnSearch_Click"/>
	    </div>
    </div>
</div>